import requests
img_src = 'https://tse3-mm.cn.bing.net/th/id/OIP-C.8tlwbGsJvlNZwGAGL36W8AHaFS?w=201&h=180&c=7&r=0&o=5&pid=1.7'
head = {
    'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36'
}
# 对图片发起请求
response = requests.post(url = img_src, headers = head)
# 获取图片数据：content返回的是二进制形式的响应数据
img_data = response.content

print(img_data)
# 持久化存储
with open('./111.png', 'wb') as fp:
    fp.write(img_data)

